$(function(){
	vipspa.start({
        view: '#ui-view',
        errorTemplateId: '#error', // 可选
        router: {
            'home': {
                templateUrl: ctp + '/phoneLoginController/mobileHome.shtml',
                controller: ctp + '/pages/mobile/js/home.js'
            },
            'order': {
                templateUrl: ctp + '/phoneLoginController/mobileOrder.shtml',
                controller: ctp + '/pages/mobile/js/order.js'
            },
            'cart': {
                templateUrl: ctp + '/phoneLoginController/mobileCart.shtml',
                controller: ctp + '/pages/mobile/js/cart.js'
            },
            'mine': {
                templateUrl: ctp + '/phoneLoginController/mobileMine.shtml',
                controller: ctp + '/pages/mobile/js/mine.js'
            },
            'defaults': 'home' //默认路由
        }
    });

});